import request from '@/utils/request'

// 查询用户资料列表
export function getReviewinfo(query) {
  return request({
    url: '/backstage/sys/user/audit',
    method: 'get',
    params: query
  })
}

// 审核修改信息
export function upDatainfo(data) {
  return request({
    url: '/backstage/sys/update/audit',
    method: 'post',
    data: data
  })
}

// 后台审核
export function upDataBackground(data) {
  return request({
    url: '/backstage/sys/update/audit',
    method: 'post',
    data: data
  })
}


// 查询评论审核列表
export function getReviewModeration(query) {
  return request({
    url: '/backstage/sys/comment/audit',
    method: 'get',
    params: query
  })
}

// 查询视频音频审核列表
export function getAudit(query) {
  return request({
    url: '/backstage/sys/frequency/audit',
    method: 'get',
    params: query
  })
}